package com.lmt_16;

import com.lmt_15.MyThread;

public class ThreadAPITest {
    public static void main(String[] args) {
        Thread t1 = new MyThread();
        t1.start();
        System.out.println(t1.getName());

        Thread t2 = new MyThread();
        t2.start();
        System.out.println(t2.getName());

        Thread t3 = new MyThread();
        t3.start();

        for (int i = 0; i <=5; i++){
            System.out.println("main"+i);
        }
    }
}
